home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
ypwhich.z
/
ypwhich
Wrap
Text File
|
1998-10-20
|
2KB
|
67 lines
YYYYPPPPWWWWHHHHIIIICCCCHHHH((((1111)))) YYYYPPPPWWWWHHHHIIIICCCCHHHH((((1111))))
NNNNAAAAMMMMEEEE
ypwhich - print the NIS server or map master hostname
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
yyyyppppwwwwhhhhiiiicccchhhh [ ----dddd _d_o_m_a_i_n ] [ ----VVVV1111 | ----VVVV2222 ] [ _h_o_s_t_n_a_m_e ]
yyyyppppwwwwhhhhiiiicccchhhh [ ----tttt ] [ ----dddd _d_o_m_a_i_n ] ----mmmm [ _m_n_a_m_e ]
yyyyppppwwwwhhhhiiiicccchhhh ----xxxx
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_y_p_w_h_i_c_h tells which network information service (NIS) server supplies NIS
services to an NIS client, or which server is the master for a map. If
invoked without arguments, it prints the NIS server for the local
machine. If _h_o_s_t_n_a_m_e is specified, that machine is queried to find out
which NIS server it is using.
Refer to _y_p_f_i_l_e_s(4) and _n_i_s(1M) for an overview of NIS.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
----dddd _d_o_m_a_i_n
Use _d_o_m_a_i_n instead of the default domain.
----mmmm _m_n_a_m_e
Find the master NIS server for a map. No _h_o_s_t_n_a_m_e can be
specified with ----mmmm. _m_n_a_m_e can be a mapname, or a nickname for a
map. If _m_n_a_m_e is not specified, _y_p_w_h_i_c_h lists the names of all
the maps and their master server.
----tttt Inhibit nickname translation. This option is useful if there is
a mapname identical to a nickname, which is not true of any
IRIX-supplied map.
----xxxx Display the map nickname table. This lists the nicknames
(_m_n_a_m_e_s) the command knows of, and indicates the _m_a_p_n_a_m_e
associated with each nickname.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
rpcinfo(1M), nis(1M), ypset(1M), ypfiles(4)
PPPPaaaaggggeeee 1111